package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderCustDao;
import com.bdzl.biz.service.OrderCustService;
import com.bdzl.pub.entity.loan.OrderCustDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderCustServiceImpl implements OrderCustService {
	@Autowired
	private OrderCustDao orderCustDao;

	@Override
	public OrderCustDO get(Integer custId){
		return orderCustDao.get(custId);
	}

	@Override
	public List<OrderCustDO> list(Map<String, Object> map){
		return orderCustDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderCustDao.count(map);
	}

	@Override
	public int save(OrderCustDO orderCust){
		return orderCustDao.save(orderCust);
	}

	@Override
	public int update(OrderCustDO orderCust){
		return orderCustDao.update(orderCust);
	}

	@Override
	public int remove(Integer custId){
		return orderCustDao.remove(custId);
	}

	@Override
	public int batchRemove(Integer[] custIds){
		return orderCustDao.batchRemove(custIds);
	}

	@Override
	public OrderCustDO getByCustCardId(String custCardId) {
		return orderCustDao.getByCustCardId(custCardId);
	}

	@Override
	public int updateByCustCardId(String odrNo, Integer custCardId, String level) {
		return orderCustDao.updateByCustCardId(odrNo,custCardId,level);
	}

}
